﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Script.Serialization;

namespace Keepo.Models
{
    public class DesignPage
    {
        public DesignPage() { }

        public int DesignPageId { get; set; }
        public string Title { get; set; }

        // Temporary nullable
        public int? ProductPageId { get; set; }
        public virtual ProductPage ProductPage { get; set; }
        
        // The Offset of the table relative to image/vector coordinates.
        public float? DesignVectorDPI { get; set; }
        public float? VectorOffsetXInch { get; set; }
        public float? VectorOffsetYInch { get; set; }

        // The Offset of the table relative to image/vector coordinates.
        public float DesignImageDPI { get; set; }
        public float ImageOffsetXInch { get; set; }
        public float ImageOffsetYInch { get; set; }

        public int DesignableProductId { get; set; }
        [ScriptIgnore]
        public virtual DesignableProduct DesignableProduct { get; set; }
    }
}